body {
    font-family: 'Roboto', sans-serif;
    scroll-behavior: smooth;
}
h1, h2, h3, h4 {
    font-family: 'Poppins', sans-serif;
}
.parallax {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
:root {
    --btn-color: #138992; /* Az eredeti Tailwind szín */
    --btn-hover: #1CA7AA;
    --success: #10b981;
    --error: #ef4444;
}
.contact-btn {
    /* Felülírjuk az alapértelmezett Tailwind stílusokat az animációhoz */
    display: inline-grid;
    place-items: center;
    width: 100%; /* Marad teljes széles, de animációkor szűkül */
    height: 56px;
    border-radius: 12px;
    background: var(--btn-color);
    color: white;
    font-weight: 600;
    font-size: 16px;
    border: 0;
    cursor: pointer;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3), inset 0 -2px 4px rgba(255, 255, 255, 0.1);
    transition: all 360ms cubic-bezier(.2, .9, .3, 1);
    user-select: none;
    overflow: hidden;
    padding: 0; /* Ne legyen alap padding, a belső span intézi */
}

.contact-btn:hover {
    background: var(--btn-hover);
}

.contact-btn:active {
    transform: translateY(1px) scale(0.997);
}

/* Szöveg, ami eltűnik */
.contact-btn .label {
    padding: 0 24px;
    transition: opacity 220ms ease, transform 360ms cubic-bezier(.2, .9, .3, 1);
    display: inline-block;
    transform-origin: center;
    white-space: nowrap;
    line-height: 56px; /* A gomb magasságával egyező sortávolság */
}

/* A kör (végállapot) */
.contact-btn.done {
    width: 56px;
    border-radius: 999px;
    background: var(--success);
    box-shadow: 0 8px 16px rgba(16, 185, 129, 0.18);
    cursor: default;
}
.contact-btn.done .label {
    opacity: 0;
    transform: scale(0.6);
    /* Ideiglenesen beállítjuk, hogy a gomb megtartsa a 100% szélességet, amíg az animáció tart (mobil nézetben fontos!) */
    width: 100%; 
}

/* SVG check beállítások */
.check {
    position: absolute;
    width: 24px;
    height: 24px;
    transform: scale(0.8);
    opacity: 0;
    transition: opacity 220ms ease, transform 360ms cubic-bezier(.2, .9, .3, 1);
}
.contact-btn.done .check {
    opacity: 1;
    transform: scale(1);
}

/* stroke anim */
.check path {
    stroke: white;
    stroke-width: 3.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
    stroke-dasharray: 32;
    stroke-dashoffset: 32;
    transition: stroke-dashoffset 420ms cubic-bezier(.2, .9, .3, 1) 120ms;
}
.contact-btn.done .check path {
    stroke-dashoffset: 0;
}

/* kis visszajelzés ha sikertelen */
.contact-btn.error {
    animation: shake 420ms;
    background: var(--error);
}
@keyframes shake {
    10%, 90% { transform: translateX(-6px); }
    20%, 80% { transform: translateX(6px); }
    30%, 50%, 70% { transform: translateX(-3px); }
    40%, 60% { transform: translateX(3px); }
}
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
}
.lightbox-content {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}
.lightbox-img {
    max-width: 90%;
    max-height: 90%;
}
.fade-in {
    opacity: 0;
    transition: opacity 0.6s ease-in;
}
.fade-in.visible {
    opacity: 1;
}
.chatbot {
    transform: translateY(100%);
    transition: transform 0.3s ease;
}
.chatbot.open {
    transform: translateY(0);
}
.dark-mode {
    background-color: #000000;
    color: #FFFFFF;
}
.dark-mode .bg-white {
    background-color: #000000 !important;
    color: #FFFFFF;
}
.dark-mode .text-black {
    color: #FFFFFF !important;
}
.dark-mode .bg-gray-100 {
    background-color: #1a1a1a !important;
}
.progress-container {
    width: 100%;
    height: 4px;
    background: #e0e0e0;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}
.progress-bar {
    height: 4px;
    background: #138992;
    width: 0%;
}
.gallery-item:hover .gallery-overlay {
    opacity: 1;
}
.gallery-overlay {
    background-color: rgba(19, 137, 146, 0.8);
    opacity: 0;
    transition: opacity 0.3s ease;
}
html {
    scroll-behavior: smooth;
}
